.video-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  flex: 1;
  overflow-y: auto;
}

.video-item {
  background-color: #2d2d2d;
  border-radius: 8px;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
}

.video-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #409EFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.video-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.video-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
}

.video-control-btn {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  cursor: pointer;
}

/* 媒体查询 - 平板和手机 */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* 媒体查询 - 移动端 */
@media (max-width: 768px) {
  .video-area {
    padding: 10px;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .video-item {
    aspect-ratio: 16/9;
    min-height: 200px;
  }
  
  .video-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .video-info {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  .video-control-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* 媒体查询 - 小屏幕手机 */
@media (max-width: 480px) {
  .video-grid {
    gap: 6px;
  }
  
  .video-item {
    min-height: 180px;
  }
  
  .video-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}